package structure.composite.security;

/**
 * 步兵
 */

public class Infantry extends Armys {


    public Infantry() {
        super("步兵");
    }

    @Override
    public void display() {
        System.out.println("Infantry{" +
                "name='" + name + '\'' +
                '}');
    }
}
